from django.conf.urls import patterns, include, url

# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    url(r'^$', include('homepage.urls', namespace="home")),
    url(r'^CV/', include('resume.urls', namespace="resume")),
    url(r'^projects/', include('projects.urls', namespace="projects")),
    url(r'^contact/', include('contact.urls', namespace="contact")),
    url(r'^photos/', include('photos.urls', namespace="photos")),
    url(r'^favicon\.ico$', 'django.views.generic.simple.redirect_to', {'url': '/static/images/Favicon.ico'}),
    # Examples:
    # url(r'^$', 'Website.views.home', name='home'),
    # url(r'^Website/', include('Website.foo.urls')),

    # Uncomment the admin/doc line below to enable admin documentation:
    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    url(r'^admin/', include(admin.site.urls)),
)
